<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>执行顺序</title>
</head>
<body bgcolor="white">
<p>Paragraph 1</p>
<script>
    //    script block 1
    alert("First Script Block");
</script>
<p>Paragraph 2</p>
<script>
    //    script block 2
    document.bgColor = "red";
    alert("Second Script Block");
</script>
<p>Paragraph 3</p>
</body>
</html>